package com.yonyou.isv.demo.openapi.api.tax;

import com.yonyou.isv.demo.openapi.api.BaseOpenApi;
import com.yonyou.isv.demo.openapi.api.OpenApiURL;
import com.yonyou.isv.demo.openapi.base.module.reponse.ApiStringDataResonse;
import org.springframework.stereotype.Component;
import org.springframework.util.MultiValueMap;

import java.util.Map;


/**
 * @Description 财务数据采集-财务数据上传
 * @Author jiaogjin
 * @Date 2022/4/26 16:39
 **/
@Component
public class FinancialDataCollectionApi extends BaseOpenApi {

    public String financeDataUpload(Map<String, Object> paramsMap)
    {
        ApiStringDataResonse apiStringDataResonse = fileForPost(OpenApiURL.FINANCE_DATA_UPLOAD, paramsMap, ApiStringDataResonse.class);
        return getData(apiStringDataResonse);
    }

}
